package org.jeecg.modules.htxincailiao.industry.service.impl;

import org.jeecg.modules.htxincailiao.industry.entity.HTIndustrySalonCheck;
import org.jeecg.modules.htxincailiao.industry.mapper.HTIndustrySalonCheckMapper;
import org.jeecg.modules.htxincailiao.industry.service.IHTIndustrySalonCheckService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: ht_industry_salon_check
 * @Author: jeecg-boot
 * @Date:   2021-12-21 17:55:12
 * @Version: V1.0
 */
@Service
public class HTIndustrySalonCheckServiceImpl extends ServiceImpl<HTIndustrySalonCheckMapper, HTIndustrySalonCheck> implements IHTIndustrySalonCheckService {
    @Override
    public HTIndustrySalonCheck queryByCode(String salonId, String code) {
        return baseMapper.queryByCode(salonId,code);
    }

    @Override
    public HTIndustrySalonCheck queryByUser(String salonId, String userId) {
        return baseMapper.queryByUser(salonId,userId);
    }

    @Override
    public HTIndustrySalonCheck queryByBuyerId(String salonId, String buyerId) {
        return baseMapper.queryByBuyerId(salonId, buyerId);
    }

    @Override
    public List<HTIndustrySalonCheck> findAll(String salonId, String buyerId) {
        return baseMapper.findAll(salonId, buyerId);
    }

    @Override
    public Integer getCheckSerialNumber(String salonId) {
        return baseMapper.getCheckSerialNumber(salonId);
    }
}
